package cn.kgc.ffzw.day14.src.cn.kgc;

public class Student {

    String name;
    int age;
    double height;
    double weight;

    public void study(){
        System.out.println("大家好我叫："+name+"，今年"+age+"岁，体重"+weight+"公斤");

    }


    public static void main(String[] args) {
        Student stu=new Student();
        stu.name="张浩";
        stu.age=22;
        stu.height=170;
        stu.weight=55;

        Student stu1=new Student();
        stu1.name="dyy";
        stu1.age=22;
        stu1.height=170;
        stu1.weight=55;


    }
}
